<!doctype html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <title>Raphael Tooltips</title>
        <script src="../js/jquery/jquery-1.10.2.min.js" type="text/javascript"></script>
        <script src="../js/snap/snap.svg.js" type="text/javascript"></script>
        <script src="js/component.svg.js" type="text/javascript"></script>
        <script type="text/javascript">
        $(function($){
      //   $("#add").on("click",function(){
          var svg = Snap(100, 100);
          svg.EWDiagram("struts.json");
		  // svg.paper.circle(50,50,40);
		  // document.getElementById("holder").appendChild(svg.node);
		  //   svg.paper.circle(100,100,40);
		//});
        });
        </script>
    </head>
    <body class="raphael">
	    <div id="tool">
		<input type="button" value="add" id="add"/>
	 
		</div>
	 
        <svg  style="width:100%;height:100%"id="holder"></svg>
       
    </body>
</html>
